﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Add_Employee.ascx.cs"
    Inherits="Control_Employees_Add_Employee" %>
<%--<script runat="server">
    protected void Calendar1_SelectionChanged(object sender, System.EventArgs e)
    {
        tbxStartDate.Text = Calendar1.SelectedDate.ToShortDateString();
    }
</script>--%>
<style type="text/css">
    .style2
    {
        height: 23px;
    }
    .style3
    {
        text-align: center;
    }
    .style4
    {
        width: 185px;
    }
    .style5
    {
        height: 23px;
        width: 185px;
    }
</style>
<table align="center" width="748px" style="height: 650px">
    <tr>
        <td colspan="2" style="text-align: left; font-family: CAMbria; font-size: 36px; color: #000000;">
            <asp:Label ID="Label9" runat="server" Text="ADD EMPLOYEE" Font-Bold="True" Font-Size="30px"
                Font-Names="Cambria"></asp:Label>
        </td>
    </tr>
    <tr>
        <td colspan="2" style="text-align: center">
            <asp:Label ID="lblMessage" runat="server" Font-Size="17px" Font-Bold="True" Font-Italic="True"></asp:Label>
        </td>
    </tr>
    <tr>
        <td class="style4">
            &nbsp;
        </td>
        <td>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbxFirstName"
                ErrorMessage="Please input First Name!" SetFocusOnError="True" Font-Size="17px"
                Font-Bold="True" Font-Italic="True"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="style4">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label2" runat="server" Text="       First Name:" Font-Size="17px"
                Font-Bold="True"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="tbxFirstName" runat="server" Width="480px" Height="30px" Font-Size="17px"
                Font-Bold="True"></asp:TextBox>
            <br />
        </td>
    </tr>
    <tr>
        <td class="style4">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label3" runat="server" Text="Last Name:" Font-Size="17px" Font-Bold="True"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="tbxLastName" runat="server" Width="480px" Height="30px" Font-Size="17px"
                Font-Bold="True"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style4">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label4" runat="server" Text="Address:" Font-Size="17px" Font-Bold="True"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="tbxAddress" runat="server" Width="480px" Height="30px" Font-Size="17px"
                Font-Bold="True"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style4">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label5" runat="server" Text="Phone:" Font-Size="17px" Font-Bold="True"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="tbxPhone" runat="server" Width="480px" Height="30px" Font-Size="17px"
                Font-Bold="True"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style4">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label6" runat="server" Text="Start Date:" Font-Size="17px" Font-Bold="True"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="tbxStartDate" runat="server" Width="480px" Height="30px" Font-Size="17px"
                Font-Bold="True"></asp:TextBox>
            <%--                    <asp:Calendar ID="Calendar1" runat="server" 
                OnSelectionChanged="Calendar1_SelectionChanged" BackColor="#FFFFCC" 
                BorderColor="#FFCC66" BorderWidth="1px" DayNameFormat="Shortest" 
                Font-Names="Verdana" Font-Size="8pt" ForeColor="#663399" Height="200px" 
                ShowGridLines="True" Width="220px">
                <SelectedDayStyle BackColor="#CCCCFF" Font-Bold="True" />
                <SelectorStyle BackColor="#FFCC66" />
                <TodayDayStyle BackColor="#FFCC66" ForeColor="White" />
                <OtherMonthDayStyle ForeColor="#CC9966" />
                <NextPrevStyle Font-Size="9pt" ForeColor="#FFFFCC" />
                <DayHeaderStyle BackColor="#FFCC66" Font-Bold="True" Height="1px" />
                <TitleStyle BackColor="#990000" Font-Bold="True" Font-Size="9pt" 
                    ForeColor="#FFFFCC" />
            </asp:Calendar> --%>&nbsp;
        </td>
    </tr>
    <tr>
        <td class="style4">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label7" runat="server" Text="License:" Font-Size="17px" Font-Bold="True"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="tbxLicense" runat="server" Width="480px" Height="30px" Font-Size="17px"
                Font-Bold="True"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style4">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label8" runat="server" Text="Position:" Font-Size="17px" Font-Bold="True"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="tbxPosition" runat="server" Width="480px" Height="30px" Font-Size="17px"
                Font-Bold="True"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style5">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label11" runat="server" Font-Size="17px" Text="Commission:" Font-Bold="True"></asp:Label>
        </td>
        <td class="style2">
            <asp:TextBox ID="tbxCommission" runat="server" Width="480px" Height="30px" Font-Size="17px"
                Font-Bold="True"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style3" colspan="2">
            &nbsp;
        </td>
    </tr>
    <tr>
        <td class="style3" colspan="2">
            <asp:ImageButton ID="btnAdd" runat="server" OnClick="SaveBtn_Click" ImageUrl="~/images/add_btn.png" />
            <%--<asp:Button ID="btnAdd" runat="server" OnClick="SaveBtn_Click" Text="ADD" Font-Bold="True"
                Font-Size="17px" Font-Names="Cambria" Width="150px" />--%>
            &nbsp;<%--<asp:Button ID="btnReset" runat="server" OnClick="ResetBtn_Click" Text="RESET"
                Font-Bold="True" Font-Size="17px" Font-Names="Cambria" Width="150px" />--%>
            <asp:ImageButton ID="btnReset" runat="server" OnClick="ResetBtn_Click" ImageUrl="~/images/reset_btn.png" />
        </td>
    </tr>
</table>
